<?php require_once(HResponse::path() . 'common/header.html'); ?>
<link href="<?php echo HResponse::uri(); ?>css/inner.css?3=7" rel="stylesheet" type="text/css" media='all' />
<link href="<?php echo HResponse::uri(); ?>css/pro.css?3=16" rel="stylesheet" type="text/css">
<link href="<?php echo HResponse::uri(); ?>css/box.css?3=5" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo HResponse::uri(); ?>common/pdfempord.js?2=3"></script>
<script type="text/javascript" src="<?php echo HResponse::uri(); ?>common/select.js?3=10"></script>
<script type="text/javascript" src="<?php echo HResponse::uri(); ?>common/html2canvas.min.js"></script>
<script type="text/javascript" src="<?php echo HResponse::uri(); ?>common/jspdf.debug.js"></script>
<script type="text/javascript" src="<?php echo HResponse::uri(); ?>common/pdfobject2.js"></script>
<script type="text/javascript" src="<?php echo HResponse::uri(); ?>common/select_p.js?3=15"></script>
</head>
<body>
<?php require_once(HResponse::path() . 'common/top.html'); ?>
<div id="bannerabout">
    <img src="<?php echo HResponse::uri(); ?>/images/products.jpg" />
</div>
<div class="wrapper clearfix">
    <div id="m_right"><div class="Prod_rt">
        <?php require_once(HResponse::path() . 'common/sidebar.html'); ?>
        <form id="tag-list-form" class="content_p" action="<?php echo HResponse::url('goods/collect', 'parent_id=' . I('parent_id')); ?>" method="get">
            <input name="cate" value="<?php echo I('cate'); ?>" type="hidden" id="tag-item-cate"/>
            <input name="parent_id" value="<?php echo I('parent_id'); ?>" type="hidden"/>
            <input name="color" value="<?php echo I('color'); ?>" type="hidden" id="tag-item-color"/>
            <input name="shape" value="<?php echo I('shape'); ?>" type="hidden" id="tag-item-shape"/>
            <input name="rim" value="<?php echo I('rim'); ?>" type="hidden" id="tag-item-rim"/>
            <input name="mater" value="<?php echo I('mater'); ?>" type="hidden" id="tag-item-mater"/>
            <input name="keyword" value="<?php echo I('keyword'); ?>" type="hidden"/>
            <input name="collection" value="2" type="hidden"/>
            <?php $cateRec = HResponse::getAttribute('cate_record'); ?>
            <div class="header_p">My Collect</div>
            <div class="sidebarDivider sidebarDivider_Coll"></div>
            <?php $colorTagList =  HResponse::getAttribute('color_tag_list'); ?>
            <?php $shapeTagList =  HResponse::getAttribute('shape_tag_list'); ?>
            <?php $rimTagList   =  HResponse::getAttribute('rim_tag_list'); ?>
            <?php $materTagList =  HResponse::getAttribute('mater_tag_list'); ?>
            <div class="filterList_wrap">
                <?php foreach($colorTagList as $item) { ?>
                <div class="ListDefa_item" data-tag="color" data-id="<?php echo $item['id']; ?>">
                    <span class="ListDefa_name"><?php echo $item['name']; ?></span>
                </div>
                <?php } ?>
                <?php foreach($shapeTagList as $item) { ?>
                <div class="ListDefa_item" data-tag="shape" data-id="<?php echo $item['id']; ?>">
                    <span class="ListDefa_name"><?php echo $item['name']; ?></span>
                </div>
                <?php } ?>
                <?php foreach($rimTagList as $item) { ?>
                <div class="ListDefa_item" data-tag="rim" data-id="<?php echo $item['id']; ?>">
                    <span class="ListDefa_name"><?php echo $item['name']; ?></span>
                </div>
                <?php } ?>
                <?php foreach($materTagList as $item) { ?>
                <div class="ListDefa_item" data-tag="mater" data-id="<?php echo $item['id']; ?>">
                    <span class="ListDefa_name"><?php echo $item['name']; ?></span>
                </div>
                <?php } ?>
            </div>
            <div class="nm_pro_hj" style="min-height:400px;">
                <div class="nm_pro_list">
                    <div class="clear"></div>
                </div>
            </div>
            <div class="sidebarDivider sidebarDivider_Coll"></div>
            <div class="clear"></div>
        </form>
        <div class="clear"></div>
    </div>
        <div class="clear"></div>
    </div>
</div>
<div class="wrapper clearfix">
    <div id="p_right">
        <div id="content">
        </div>
        <div class="m_pro_list4">
        </div>
        <?php if(I('keyword')=='procollect'){ ?>
        <div class="boxbut"><a href="javascript:void(0)" class="click_pop2">Inquiry</a></div>
        <?php } ?>
        <?php require_once(HResponse::path() . 'common/question.html'); ?>
    </div>
    <div class="clear"></div>
</div>
<?php require_once(HResponse::path() . 'common/footer.html'); ?>
<?php require_once(HResponse::path() . 'common/faq.html'); ?>
<script>
    var parentId = "<?php echo I('parent_id') ?: 0; ?>";
    var keyword  = "<?php echo I('keyword') ?: ''; ?>";
    var newid    = "";
    var color    = '<?php echo I('color'); ?>';
    var rim      = "<?php echo I('rim'); ?>";
    var mater    = "<?php echo I('mater'); ?>";
    var shape    = "<?php echo I('shape'); ?>";
    var cate     = "<?php echo I('cate'); ?>";
    var cart     = 2;
</script>
</body>
</html>
